//
//  HeadCollectionViewCell.m
//  Project_A Gary
//
//  Created by leilei on 16/3/24.
//  Copyright © 2016年 www.lei.com. All rights reserved.
//

#import "HeadCollectionViewCell.h"


@implementation HeadCollectionViewCell


-(void)dealloc
{
    [super dealloc];
    [_headImgView release];
    [_headImgView release];
    
    
}


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        
        self.headImgView = [[UIImageView alloc] init];
        [self.contentView addSubview:self.headImgView];
        [_headImgView release];
        
    }
    return self;
}



- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    [super applyLayoutAttributes:layoutAttributes];
    
    
    self.headImgView.frame = CGRectMake(0, 0, BOUNDS_WIDTH, 194);
}


@end
